/* csslint disabled                    */

[v-cloak] {
  display: none;
}

/*normalize                                                 */

html,
body,
#app {
  height: 100%;
}

body,
div,
dl,
dt,
dd,
ul,
ol,
li,
form,
legend,
input,
textarea,
p,
blockquote,
th,
figure,
h1,
h2,
h3,
h4,
h5,
h6,
td {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

ul,
li {
  display: block;
}

li {
  list-style: none;
}

body {
  font-size: 16px;
  color: #333333;
}

a {
  text-decoration: none;
  color: #333;
}

textarea,
input {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-appearance: none;
}

input {
  background: transparent;
  border: none;
  box-shadow: none;
  outline: none;
}

img {
  border: none;
}

/* 字体大小                                                                                                                                     */

.font-lg {
  font-size: 20px;
}

.font-l {
  font-size: 16px;
}

.font {
  font-size: 14px;
}

.font-s {
  font-size: 13px;
}

.font-xs {
  font-size: 12px;
}

.gray3 {
  color: #333333;
}

.gray6 {
  color: #666666 !important;
}

.gray9 {
  color: #9d9d9d;
}

.red {
  color: #FE504F;
}

.blue {
  color: #409EFF;
}

.green {
  color: #0BBA34;
}

.font-f {
  font-family: PingFang SC;
}

.font-w {
  font-weight: bold;
}

.img {
  height: 100%;
  width: 100%;
}

/* 阿里icon-svg    */

.ali-icon {
  fill: currentColor;
  overflow: hidden;
}

.black-overlay {
  background: rgba(0, 0, 0, 0.3);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 200;
}

/*水平和垂直水平居中                                                                                                                                    */

.vertical-center {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

.screen-center {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

/*超过一行显示省略号                                                                                                                                    */

.show-dots {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/*//单行省略                                                 */

.text-ess-1 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/*//几行省略                                                 */

.text-ess-2 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.text-ess-3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.border-bottom {
  position: relative;
}

.border-bottom::after {
  transform: scaleY(0.5);
  -webkit-transform: scaleY(0.5);
  content: "";
  bottom: 0;
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background-color: red;
  opacity: 0.7;
  z-index: 6;
}

/* 公用背景图                                                  */

.bg-full {
  background-size: cover !important;
  background-position: center !important;
}

.align-center {
  text-align: center;
}